﻿using System;

namespace BaseSyntax.Values.StringTest
{
    public static class StringChar
    {
        public static void test()
        {
            string str1 = "xiamen dianchu";
            char[] a1 = str1.ToCharArray();

            foreach (char c in a1)
            {
                Console.WriteLine(c);
            }
            
            string str2 = new string(a1);
        }
    }
}